
import request from "@/utils/req";


export default {
    //登录
    userLogin(params: { password: string; username: string }){
        return request({url:'/api/login',method:'post',params})
    },
    //文章列表
    articlesData(params:{current:number;size:number;isDelete:number}){
        return request({url:'/api/admin/articles',method:'get',params})
    }
}
